package com.xiguthings.waka.web.controller.wechat.wx.tmpltMsg;

public class BillChkMsg extends TltMsg {
	public void init(String name, String type, String applier, String cnt, String date) {
		if (name != null)
			addValue("first", name + ",你有一条待审批的电子流!");
		if (type != null)
			addValue("keyword1", type);
		addValue("keyword2", applier, "#0000FF");
		if (cnt != null)
			addValue("keyword3", cnt, "#FF0000");
		addValue("keyword4", date);
	}

	public BillChkMsg() {
	}

	public BillChkMsg(String receiver) {
		super(receiver);
	}

	public BillChkMsg(String receiver, String url) {
		super(receiver, url);
	}

	public void setName(String name) {
		addValue("first", name + ",你有一条待审批的电子流!");
	}

	public void setType(String type) {
		addValue("keyword1", type);
	}

	public void setApplier(String applier) {
		addValue("keyword2", applier);
	}

	public void setDate(String date) {
		addValue("keyword4", date);
	}

	public void setCnt(String cnt) {
		addValue("keyword3", cnt);
	}

	@Override
	String getTltId() {
		return "OBYCW0fPTpfLw7vm-ZYww6nz6GyGFFB5QzUWxJOgF3I";
	}

}
